home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Booting Gallery / Booting Gallery (source) / Sources / INIT Sources / StAllowDraw.h < prev   
Encoding:
C/C++ Source or Header  |  1996-06-22  |  189 b   |  14 lines  |  [TEXT/CWIE]

  1. #pragma once
  2.  
  3. #include <globals.h>
  4.  
  5. class StAllowDraw
  6. {
  7. public:
  8.     StAllowDraw()    {fSave = *((char*)0x910); *((char*)0x910) = 1;}
  9.     ~StAllowDraw()    {*((char*)0x910) = fSave;}
  10.     
  11.     char    fSave;
  12. };
  13.  
  14.